Bookly\Lib\Cloud\API S

Total Complexity 37
Dependencies 15
Dependents 43
Total lines 344
Lines of code 138
Logical lines of code 76
Comment lines 127
Methods 19
Properties 16

Methods 19

Method Rating Maintainability Complexity Lines of code
_sendRequest()
S
50 6 28
_handleResponse()
S
57 5 16
_translateError()
S
60 4 12
dispatch()
S
65 3 9
buildUrl()
S
63 3 10
setRequestTimeout()
S
69 2 7
getInstance()
S
71 2 6
__construct()
S
60 1 13
listen()
S
80 1 3
sendDeleteRequest()
S
74 1 4
getToken()
S
82 1 3
addError()
S
80 1 3
getErrors()
S
82 1 3
clearErrors()
S
81 1 3
addErrorTranslator()
S
80 1 3
sendPatchRequest()
S
74 1 4
sendPostRequest()
S
74 1 4
sendGetRequest()
S
74 1 4
setToken()
S
81 1 3